package org.example.service.impl;

import org.example.mapper.FeaturedSoundMapper;
import org.example.pojo.FeaturedSound;
import org.example.service.FeaturedSoundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FeaturedSoundServiceImpl implements FeaturedSoundService {

    @Autowired
    private FeaturedSoundMapper featuredSoundMapper;

    @Override
    public List<FeaturedSound> getFeaturedSounds() {
        return featuredSoundMapper.selectAll();
    }
} 